<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>

<style type="text/css">
body {
	overflow-y: scroll;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .875em;
	line-height: 1.6em;
	border-top: 7px solid #EF3B24;
	background: #eaeaea url(img/body_bg.png);
	color: #666;
}

#container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header {
	margin-left: 100px;
	margin-right: 100px;
	margin-bottom: 70px;
}

#left {
	padding: 5px;
	height: 550px;
	width: 20%;
	float: left; /* 엘리먼트 부유 위치를 left 로 지정해 left 와 main 이 수평으로 배치되게 한다 */
}

#main {
	padding: 5px;
	height: auto;
	width: 764px;
	float: left;
}

#footer {
	text-align: center;
	padding: 5px;
	height: 70px;
	clear: both; /* float 을 사용한 요소의 아래에 위치시키기 위해 float 속성 초기화 시킴*/
}

#headermenu {
	zoom: 1;
}

#headermenu {
	width: 750px;
	float: right;
	border-bottom: 2px solid #000;
}

#headermenu,#headermenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#headermenu li {
	float: left;
	position: relative;
}

#headermenu a {
	float: left;
	padding: 40px 20px 30px;
	color: #000;
	text-transform: uppercase;
	font-family: 'Quicksand', sans-serif;
}

#headermenu:BEFORE,#headermenu:after {
	content: "";
	display: table;
}

#headermenu:after {
	clear: both;
}

#headermenu li:hover>a {
	color: #FFF;
	background: #EF3B24;
}

* html #headermenu li a:hover {
	color: #000;
}

#headermenu ul {
	margin: 20px 0 0 0;
	_margin: 0; /*IE6 only*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 70px;
	left: 0;
	z-index: 9999;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

#headermenu li:hover>ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
}

#headermenu ul ul {
	top: 0;
	left: 150px;
	margin: 0 0 0 20px;
	_margin: 0; /*IE6 only*/
	-moz-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
	-webkit-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
	box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
}

#headermenu ul li {
	float: none;
	display: block;
	border: 0;
	_line-height: 0; /*IE6 only*/
	-moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	-webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#headermenu ul li:last-child {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#headermenu ul a {
	padding: 10px;
	width: 130px;
	_height: 10px; /*IE6 only*/
	display: block;
	background: #FFF;
	border: 0;
	white-space: nowrap;
	float: none;
	text-transform: none;
}

#headermenu ul a:hover {
	background-color: #EF3B24;
}

#headermenu ul li:first-child>a {
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
}

#headermenu ul li:first-child>a:after {
	content: '';
	position: absolute;
	left: 40px;
	top: -6px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #fff;
}

#headermenu ul ul li:first-child a:after {
	left: -6px;
	top: 50%;
	margin-top: -6px;
	border-left: 0;
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	border-right: 6px solid #EF3B24;
}

#headermenu ul li:first-child a:hover:after {
	border-bottom-color: #EF3B24;
}

#headermenu ul ul li:first-child a:hover:after {
	border-right-color: #0299d3;
	border-bottom-color: transparent;
}

#headermenu ul li:last-child>a {
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
}

/* .TTWForm input,.TTWForm textarea,.TTWForm select {
	width: 200px;
	font: 12px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
	padding: 6px 0;
	color: #999999;
	border: 1px solid #d9d9d9;
	outline: none;
	display: inline-block;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 10px #eee inset;
	-moz-box-shadow: 0 0 10px #eee inset;
	-webkit-box-shadow: 0 0 10px #eee inset;
	-ms-box-shadow: 0 0 10px #eee inset;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
} */
.button,.submit {
	-moz-border-bottom-colors: none;
	-moz-border-image: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	border-color: #CCCCCC #CCCCCC #AAAAAA;
	border-radius: 3px 3px 3px 3px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 0 1px #FFFFFF inset;
	color: #555555;
	font-weight: bold;
	text-decoration: none;
	padding: 5px 15px;
	font-size: 12px;
	display: inline-block;
	text-shadow: 0 0 0 transparent, 0 1px 0 #FFFFFF;
	background-image: -moz-linear-gradient(top, #fafafa, #E0E0E0);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa),
		to(#E0E0E0) );
	background-image: -webkit-linear-gradient(top, #fafafa, #E0E0E0);
	background-image: -ms-linear-gradient(top, #fafafa, #E0E0E0);
	background-image: -o-linear-gradient(top, #fafafa, #E0E0E0);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa',
		endColorstr='#E0E0E0' )
}

table tr {
	font-family: arial, monospace;
	color: black;
	font-size: 12px;
	background-color: white;
}

caption {
	font-size: 15px;
	padding: 5px;
	margin-bottom: 15px
}

th,td {
	padding: 3px 6px
}

thead th {
	/* background: #FF4848;
	color: #fff;
	text-align: center;
	border-right: 1px solid #fff; */
	background-color: #FF4848;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #D9D9D9;
	font-weight: bold;
	text-align:left;
	padding: 16px 9px;
	color:white;
}

tbody tr {
	/* background: #f9f9f9; */
	background-color: #fff;
	font-weight: normal;
	border-left: none;
	padding: 6px 9px;
	background-color: #F3F3F3;
}

tbody tr:hover {
	background: #E5E5D8;
}

.text input[type=text]:hover,.text input[type=password]:hover {
	border: 1px solid #B2EBF4;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 5px #f5f7f8;
}

.text input[type=text],.text input[type=password] {
	width: 200px;
	font: 12px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
	padding: 6px 0;
	color: #999999;
	border: 1px solid #d9d9d9;
	outline: none;
	display: inline-block;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 10px #eee inset;
	-moz-box-shadow: 0 0 10px #eee inset;
	-webkit-box-shadow: 0 0 10px #eee inset;
	-ms-box-shadow: 0 0 10px #eee inset;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
}

.area textarea {
	width: 400;
	height: 200;
	font: 12px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
	color: #999999;
	border: 1px solid #d9d9d9;
	outline: none;
	display: inline-block;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 10px #eee inset;
	-moz-box-shadow: 0 0 10px #eee inset;
	-webkit-box-shadow: 0 0 10px #eee inset;
	-ms-box-shadow: 0 0 10px #eee inset;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
}

.star_rating,.star_rating span {
	display: inline-block;
	overflow: hidden;
	height: 14px;
	height: 14px;
	background: transparent url(img/ico_star.gif);
	text-align: left;
}

.star_rating {
	width: 79px;
	vertical-align: middle
}

.star_rating span {
	background-position: 0 -14px;
	font-size: 0;
	line-height: 0;
	text-indent: -100px;
	*text-indent: 0;
	vertical-align: top
}

.star_view,.star_view span {
	display: inline-block;
	overflow: hidden;
	height: 14px;
	height: 14px;
	background: transparent url(img/ico_star.gif);
	text-align: left;
}

.star_view {
	width: 79px;
	vertical-align: middle
}

.star_view span {
	background-position: 0 -14px;
	font-size: 0;
	line-height: 0;
	text-indent: -100px;
	*text-indent: 0;
	vertical-align: top
}

/* Some stylesheet reset */
#cssmenu>ul {
	list-style: none;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	line-height: 1;
}
/* The container */
#cssmenu>ul {
	display: block;
	position: relative;
	width: 200px;
}
/* The list elements which contain the links */
#cssmenu>ul li {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
}
/* General link styling */
#cssmenu>ul li a { /* Layout */
	display: block;
	position: relative;
	margin: 0;
	border-top: 1px dotted #fff;
	border-bottom: 1px dotted #d9d9d9;
	padding: 11px 20px;
	/* Typography */
	font-family: Helvetica, Arial, sans-serif;
	color: #e4433c;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
	font-size: 13px;
	font-weight: 300;
	/* Background & effects */
	background: #eaeaea;
}
/* Rounded corners for the first link of the menu/submenus */
#cssmenu>ul li:first-child>a {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-top: 0;
}
/* Rounded corners for the last link of the menu/submenus */
#cssmenu>ul li:last-child>a {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: 0;
}
/* The hover state of the menu/submenu links */
#cssmenu>ul li a:hover,#cssmenu>ul li:hover>a {
	color: #ffffff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	background: #f23f37;
	background: -webkit-linear-gradient(#f23f37, #e7180f);
	background: -moz-linear-gradient(#f23f37, #e7180f);
	background: linear-gradient(#f23f37, #e7180f);
	border-color: transparent;
}
/* The arrow indicating a submenu */
#cssmenu>ul .has-sub>a::after {
	content: '';
	position: absolute;
	top: 16px;
	right: 10px;
	width: 0px;
	height: 0px;
	/* Creating the arrow using borders */
	border: 4px solid transparent;
	border-left: 4px solid #e4433c;
}
/* The same arrow, but with a darker color, to create the shadow effect */
#cssmenu>ul .has-sub>a::before {
	content: '';
	position: absolute;
	top: 17px;
	right: 10px;
	width: 0px;
	height: 0px;
	/* Creating the arrow using borders */
	border: 4px solid transparent;
	border-left: 4px solid #fff;
}
/* Changing the color of the arrow on hover */
#cssmenu>ul li>a:hover::after,#cssmenu>ul li:hover>a::after {
	border-left: 4px solid #fff;
}

#cssmenu>ul li>a:hover::before,#cssmenu>ul li:hover>a::before {
	border-left: 4px solid rgba(0, 0, 0, 0.25);
}
/* THE SUBMENUS */
#cssmenu>ul ul {
	position: absolute;
	left: 100%;
	top: -9999px;
	padding-left: 5px;
	opacity: 0;
	width: 150px;
	/* The fade effect, created using an opacity transition */
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
}

#cssmenu>ul ul li a {
	font-size: 12px;
}
/* Showing the submenu when the user is hovering the parent link */
#cssmenu>ul li:hover>ul {
	top: 0px;
	opacity: 1;
	z-index: 1;
}
</style>

<div id="container">
	<div id="header">
		<tiles:insertAttribute name="header" />
	</div>
	<div id="left">
		<tiles:insertAttribute name="left" />
	</div>
	<div id="main">
		<tiles:insertAttribute name="main" />
	</div>
	<div id="footer">
		<tiles:insertAttribute name="footer" />
	</div>
</div>
